From: | Th. Will |
Date: | 24 Sep 2001 at 19:32:39 |
Subject: | Re: How to get amount of total Chip/Fast memory |
----- Original Message -----
From: "Thilo Köhler" <koehlerthilo@gmx.de>
To: <blitz-list@netsoc.ucd.ie>
Sent: Monday, September 24, 2001 3:44 PM
Subject: Re: How to get amount of total Chip/Fast memory
> Hello Th.
>
> Sorry, you missunderstood me.
> I need the total amount of memory installed, e.g. 128MB if
> you have 128MB installed. NOT the available free
> memory.
> Background:
> I want to calculate the percentage of free memory.
> so I need the free memory AND the total memory of the system.
>
> e.g.
>
> 100 * 102,5 MB / 128,0 MB = 81,3 % free memory
Hi Thilo!
My example with the function works very fine... If you would like to check
my small routine, you
will see - it returns the complete memory you have - not only the available
free... Just try my
code again and you see it works... If you want to get the result = 128....
Just calculate the
result/1024/1024 = 128 mb for example of fastram...
bye
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie